package org.dromara.basedata.domain.vo;

import org.dromara.basedata.domain.StandardManHour;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 标准工时维护视图对象 standard_man_hour
 *
 * @author Lion Li
 * @date 2025-06-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = StandardManHour.class)
public class StandardManHourVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 工时ID
     */
    @ExcelProperty(value = "工时ID")
    private Long id;

    /**
     * 工序ID
     */
    @ExcelProperty(value = "工序ID")
    private Long stepId;

    /**
     * 工序名称
     */
    @ExcelProperty(value = "工序名称")
    private String stepName;

    /**
     * 所属工艺（工艺名称）
     */
    @ExcelProperty(value = "所属工艺", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "工=艺名称")
    private String processName;

    /**
     * 平均耗时(分钟)
     */
    @ExcelProperty(value = "平均耗时(分钟)")
    private Long avgTime;

    /**
     * 最长耗时(分钟)
     */
    @ExcelProperty(value = "最长耗时(分钟)")
    private Long maxTime;

    /**
     * 最少耗时(分钟)
     */
    @ExcelProperty(value = "最少耗时(分钟)")
    private Long minTime;

    /**
     * 标准耗时(分钟)
     */
    @ExcelProperty(value = "标准耗时(分钟)")
    private Long standardTime;

    /**
     * 实际最长耗时(分钟)
     */
    @ExcelProperty(value = "实际最长耗时(分钟)")
    private Long actualMaxTime;

    /**
     * 实际最短耗时(分钟)
     */
    @ExcelProperty(value = "实际最短耗时(分钟)")
    private Long actualMinTime;


}
